/* eslint-disable react-hooks/rules-of-hooks */
import React from 'react';
import useSharedState from './useShareState';

/**
 * 需要在组件之间共享当前树节点上新增或删除操作
 */
const useTreeAction = useSharedState(React, {});

export {
  useTreeAction,
};
